box gadget: Fix height-for-width handling
authorMatthias Clasen <mclasen@redhat.com>
Fri, 22 Jan 2016 22:10:41 +0000 (17:10 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 22 Jan 2016 22:15:33 +0000 (17:15 -0500)
commit3d52fd3992be6880cce5148d8e620324158c56ea
treeb772fc50f2de0a3224bc5a3376d3957cb2ecb35d
parentf32a54fb705ba787786f108fc93fad2027727eb9
box gadget: Fix height-for-width handling

When measuring children while distributing a given height,
we must measure them for the given width that goes with
the height. Otherwise, things will go wrong if some of the
children do actual width-for-height. This was showing up
as misaligned images in anaconda.

https://bugzilla.gnome.org/show_bug.cgi?id=760967
gtk/gtkboxgadget.c